package com.zoro.barn.api.documentsql.sql;

import com.zoro.barn.dto.documentsql.sql.SqlCopyDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhaoxingwu
 */
public interface BarnSqlCopyService {

    /**
     * copy relationship that between sql and project from one to another
     *
     * @param sqlCopyDto {@link SqlCopyDto}
     */
    @RequestMapping("")
    void copySql(@RequestBody SqlCopyDto sqlCopyDto);
}
